/* You can add global styles to this file, and also import other style files */

@import "../node_modules/@jsplumbtoolkit/browser-ui/css/jsplumbtoolkit.css";
@import "../node_modules/@jsplumbtoolkit/browser-ui/css/jsplumbtoolkit-controls.css";

/* import the styles from the non-angular schema builder demo css*/
@import "../../vanilla/app.css";
@import "../../vanilla/theme.default.css";


.jtk-surface {
  height:500px;
}

app-demo {
  width:100%;
  height:100%;
  display:flex;
  flex-direction: column;
  position:relative;
}

app-schema-builder {
  width:100%;
  display:flex;
  position: relative;
  height:100%;
}

@media screen and (max-width:850px) {
  app-schema-builder {
    flex-direction: column;
  }
}

jsplumb-surface{
  flex:1;

}

jsplumb-surface > div {
  width:100% !important;
  height:100% !important;
}

jsplumb-controls {
  position: absolute;
  color: white;
  top: 10px;
  z-index: 1;
  width:150px;
}

jsplumb-miniview {
  position: absolute;
  top: 0;
  right: 0;
}

.controls {
  position:static;
}

nav {
  background-color: #e0e0e0;
  display:flex;
}

nav a, nav a:visited {
  padding: 7px;
  color:black;
  margin:10px;
  text-decoration: none;
}

nav a:hover {
  text-decoration: underline;
}

nav a.active {
  background-color:white;
}

.jtk-miniview {
  position: absolute;
  top: 25px;
  right: 25px;
  z-index: 100;
}

